\hypertarget{classCookie}{\section{Cookie类 参考}
\label{classCookie}\index{Cookie@{Cookie}}
}
\subsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classCookie_a15ff61260f45b2aeb6fa8d46e090bc76}{get} (\$name, \$encrtypt=true)
\item 
static \hyperlink{classCookie_a03e5d47b57d4709ef693764c62efc700}{set} (\$name, \$value='', \$time=0, \$encrypt=true)
\end{DoxyCompactItemize}


\subsection{详细描述}
cookie 类 \begin{DoxyAuthor}{作者}
七殇酒  \href{mailto:739800600@qq.com}{\tt 739800600@qq.\-com}  2013-\/4-\/25 
\end{DoxyAuthor}


\subsection{成员函数说明}
\hypertarget{classCookie_a15ff61260f45b2aeb6fa8d46e090bc76}{\index{Cookie@{Cookie}!get@{get}}
\index{get@{get}!Cookie@{Cookie}}
\subsubsection[{get}]{\setlength{\rightskip}{0pt plus 5cm}static Cookie\-::get (
\begin{DoxyParamCaption}
\item[{}]{\$name, }
\item[{}]{\$encrtypt = {\ttfamily true}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classCookie_a15ff61260f45b2aeb6fa8d46e090bc76}
读取cookie 
\begin{DoxyParams}[1]{参数}
string & {\em \$name} & 变量名 \\
\hline
bool & {\em \$encrtypt} & 是否需要对其进行 base64\-\_\-decode 解密 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
string 
\end{DoxyReturn}
\hypertarget{classCookie_a03e5d47b57d4709ef693764c62efc700}{\index{Cookie@{Cookie}!set@{set}}
\index{set@{set}!Cookie@{Cookie}}
\subsubsection[{set}]{\setlength{\rightskip}{0pt plus 5cm}static Cookie\-::set (
\begin{DoxyParamCaption}
\item[{}]{\$name, }
\item[{}]{\$value = {\ttfamily ''}, }
\item[{}]{\$time = {\ttfamily 0}, }
\item[{}]{\$encrypt = {\ttfamily true}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classCookie_a03e5d47b57d4709ef693764c62efc700}
设置写入cookie 支持批量写入 
\begin{DoxyParams}[1]{参数}
mid & {\em \$name} & 变量名 \$name = array('a'=$>$'a','b'=$>$b) \\
\hline
mixed & {\em \$value} & 值 \\
\hline
int & {\em \$time} & 过期时间 \\
\hline
bool & {\em \$encrypt} & 是否用base64\-\_\-encode 进行加密 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
bool 
\end{DoxyReturn}


该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
templi/Cookie.\-class.\-php\end{DoxyCompactItemize}
